﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace GNCMedia.KQXS.UserControls
{
    public partial class Calender : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ResultCalendar.SelectedDate = DateTime.Today;
        }

        protected void ResultCalendar_SelectionChanged(object sender, EventArgs e)
        {

            Response.Redirect("ResultLotteryByDate.aspx?SelectDate='" + ResultCalendar.SelectedDate.ToString("dd/MM/yyyy") + "'");
        }
    }
}